//package com.dh.jwt.config;
//
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//import com.dh.jwt.auth.WithSignMessageConverter;
//
///**
// * 签名校验messageConverter
// *
// * @author fengshuonan
// * @date 2017-08-25 16:04
// */
//@Configuration
//public class MessageConverConfig {
//
//    @Bean
//    public WithSignMessageConverter withSignMessageConverter() {
//        WithSignMessageConverter withSignMessageConverter = new WithSignMessageConverter();
//        DefaultFastjsonConfig defaultFastjsonConfig = new DefaultFastjsonConfig();
//        withSignMessageConverter.setFastJsonConfig(defaultFastjsonConfig.fastjsonConfig());
//        withSignMessageConverter.setSupportedMediaTypes(defaultFastjsonConfig.getSupportedMediaType());
//        return withSignMessageConverter;
//    }
//}
